module.exports = {
  allowBookmark: true,
  async fetch({ args, page }) {
    let res = await http_dh.get('https:' + args.httpDR, header_asb)
    let ixa = res.data

    if (ixa.indexOf("value='同意(enter)'") != -1) {
      this.finish()
      $router.to($route('cookie_huoqu'))
    } else {
      let path = ixa.match(/iframe_url_re="(.+?)"/)[1]

      res = await http_dh.get('https:' + path, header_asb)
      ixa = res.data

      let obj = ixa.match(/url: *'(.+?)'/)[1]
      
      
      var DSF_zujian = require('./JS/DSF_zujian.js')
      //调用
      return DSF_zujian.aa(obj, this.finish)
    }
  }
}
